CC=gcc
CFLAGS=-I ../inc/ -I ../../libs/install/include/ 
LFLAGS=-L ../../libs/install/lib/ -lsqlite3
FILES=logger.o pack_data.o server.o sqlite.o

all:main
	rm -rf ${FILES} main *.log *.db

main:${FILES}
	${CC} ${FILES} ${LFLAGS} -o ../main

%.o:%.c
	${CC} -c $< ${CFLAGS} -o $@